package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the clearance_tbl database table.
 * 
 */
@Entity
@Table(name="clearance_tbl")
public class Clearance extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="CLRNC_CODE")
	private int clrncCode;

	@Column(name="CHECK_AMT")
	private String checkAmt;

	@Temporal(TemporalType.DATE)
	@Column(name="CHECK_AVAIL")
	private Date checkAvail;

	@Temporal(TemporalType.DATE)
	@Column(name="CHECK_REL_DATE")
	private Date checkRelDate;

	@Temporal(TemporalType.DATE)
	@Column(name="CLRNC_DATE_HR_SUBMT")
	private Date clrncDateHrSubmt;

	@Temporal(TemporalType.DATE)
	@Column(name="CLRNC_DATE_IT_SUBMT")
	private Date clrncDateItSubmt;

	@Temporal(TemporalType.DATE)
	@Column(name="CLRNC_DATE_LOG_SUBMT")
	private Date clrncDateLogSubmt;

	@Temporal(TemporalType.DATE)
	@Column(name="CLRNC_DATE_RECV")
	private Date clrncDateRecv;

	@Temporal(TemporalType.DATE)
	@Column(name="CLRNC_HOLD_PAY_DATE")
	private Date clrncHoldPayDate;

	@Column(name="CLRNC_LIABT_TAG")
	private boolean clrncLiabtTag;

	@Column(name="CLRNC_MGT_NOTIF")
	private boolean clrncMgtNotif;

	@Column(name="CLRNC_PERD_LAST_PAY")
	private String clrncPerdLastPay;

	@Column(name="CLRNC_REM")
	private String clrncRem;

	@Temporal(TemporalType.DATE)
	@Column(name="CLRNC_SCHED")
	private Date clrncSched;

	@Column(name="CTRCT_BRCH")
	private boolean ctrctBrch;

	//bi-directional many-to-one association to Reference
	@ManyToOne
	@JoinColumn(name="CLRNC_LIABT")
	private Reference clrncLiabt;

	//bi-directional many-to-one association to Reference
	@ManyToOne
	@JoinColumn(name="CTRCT_BRCH_RSON")
	private Reference ctrctBrchRson;

	//bi-directional many-to-one association to EmployeeProject
	@ManyToOne
	@JoinColumn(name="EMP_PROJ_CODE")
	private EmployeeProject employeeProject;

	public Clearance() {
	}

	public int getClrncCode() {
		return this.clrncCode;
	}

	public void setClrncCode(int clrncCode) {
		this.clrncCode = clrncCode;
	}

	public String getCheckAmt() {
		return this.checkAmt;
	}

	public void setCheckAmt(String checkAmt) {
		this.checkAmt = checkAmt;
	}

	public Date getCheckAvail() {
		return this.checkAvail;
	}

	public void setCheckAvail(Date checkAvail) {
		this.checkAvail = checkAvail;
	}

	public Date getCheckRelDate() {
		return this.checkRelDate;
	}

	public void setCheckRelDate(Date checkRelDate) {
		this.checkRelDate = checkRelDate;
	}

	public Date getClrncDateHrSubmt() {
		return this.clrncDateHrSubmt;
	}

	public void setClrncDateHrSubmt(Date clrncDateHrSubmt) {
		this.clrncDateHrSubmt = clrncDateHrSubmt;
	}

	public Date getClrncDateItSubmt() {
		return this.clrncDateItSubmt;
	}

	public void setClrncDateItSubmt(Date clrncDateItSubmt) {
		this.clrncDateItSubmt = clrncDateItSubmt;
	}

	public Date getClrncDateLogSubmt() {
		return this.clrncDateLogSubmt;
	}

	public void setClrncDateLogSubmt(Date clrncDateLogSubmt) {
		this.clrncDateLogSubmt = clrncDateLogSubmt;
	}

	public Date getClrncDateRecv() {
		return this.clrncDateRecv;
	}

	public void setClrncDateRecv(Date clrncDateRecv) {
		this.clrncDateRecv = clrncDateRecv;
	}

	public Date getClrncHoldPayDate() {
		return this.clrncHoldPayDate;
	}

	public void setClrncHoldPayDate(Date clrncHoldPayDate) {
		this.clrncHoldPayDate = clrncHoldPayDate;
	}

	public boolean getClrncLiabtTag() {
		return this.clrncLiabtTag;
	}

	public void setClrncLiabtTag(boolean clrncLiabtTag) {
		this.clrncLiabtTag = clrncLiabtTag;
	}

	public boolean getClrncMgtNotif() {
		return this.clrncMgtNotif;
	}

	public void setClrncMgtNotif(boolean clrncMgtNotif) {
		this.clrncMgtNotif = clrncMgtNotif;
	}

	public String getClrncPerdLastPay() {
		return this.clrncPerdLastPay;
	}

	public void setClrncPerdLastPay(String clrncPerdLastPay) {
		this.clrncPerdLastPay = clrncPerdLastPay;
	}

	public String getClrncRem() {
		return this.clrncRem;
	}

	public void setClrncRem(String clrncRem) {
		this.clrncRem = clrncRem;
	}

	public Date getClrncSched() {
		return this.clrncSched;
	}

	public void setClrncSched(Date clrncSched) {
		this.clrncSched = clrncSched;
	}

	public boolean getCtrctBrch() {
		return this.ctrctBrch;
	}

	public void setCtrctBrch(boolean ctrctBrch) {
		this.ctrctBrch = ctrctBrch;
	}

	public Reference getClrncLiabt() {
		return this.clrncLiabt;
	}

	public void setClrncLiabt(Reference clrncLiabt) {
		this.clrncLiabt = clrncLiabt;
	}

	public Reference getCtrctBrchRson() {
		return this.ctrctBrchRson;
	}

	public void setCtrctBrchRson(Reference ctrctBrchRson) {
		this.ctrctBrchRson = ctrctBrchRson;
	}

	public EmployeeProject getEmployeeProject() {
		return this.employeeProject;
	}

	public void setEmployeeProject(EmployeeProject employeeProject) {
		this.employeeProject = employeeProject;
	}

}